#ifndef HTTP_DEFIN_H
#define HTTP_DEFIN_H
#include <string>
#include <map>
#include <vector>

const short HTTP_REQ_GET = 1;
const short HTTP_REQ_POST = 2;
const short HTTP_REQ_HEAD = 3;
const short HTTP_REQ_PUT = 4;
const short HTTP_REQ_DELETE = 5;
const short HTTP_REQ_OPTIONS = 6;
const short HTTP_REQ_TRACE = 7;
const short HTTP_REQ_CONNECT = 8;
const short HTTP_REQ_PATCH = 9;
const short HTTP_REQ_PROPFIND = 10;
const short HTTP_REQ_PROPPATCH = 11;
const short HTTP_REQ_MKCOL = 12;
const short HTTP_REQ_LOCK = 13;
const short HTTP_REQ_UNLOCK = 14;
const short HTTP_REQ_COPY = 15;
const short HTTP_REQ_MOVE = 16;
const short HTTP_REQ_LINK = 17;
const short HTTP_REQ_UNDEF = 60;

//http头
typedef std::map<std::string, std::string> http_head;

//http请求参数
typedef std::map<std::string, std::string> http_param;

//http cookie
typedef std::map<std::string, std::string> http_cookie;
#endif